﻿<ribbon:RibbonWindow xmlns:my="clr-namespace:RestaurantManagementSystem"  x:Class="MainWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        xmlns:ribbon="clr-namespace:Microsoft.Windows.Controls.Ribbon;assembly=RibbonControlsLibrary"
        Title="RestaurantManagementSystem" 
        x:Name="RibbonWindow"
		Width="640" Height="480" WindowStartupLocation="CenterScreen" WindowStyle="SingleBorderWindow">

    <Grid x:Name="LayoutRoot">
        <Grid.RowDefinitions>
            <RowDefinition Height="Auto"/>
            <RowDefinition Height="*"/>
        </Grid.RowDefinitions>

        <ribbon:Ribbon x:Name="Ribbon">
            <ribbon:Ribbon.ApplicationMenu>
                <ribbon:RibbonApplicationMenu Label="" SmallImageSource="/RestaurantManagementSystem;component/Images/Start.png">
                    <MenuItem Header="注销" Name="MenuItemLogOut"/>
                    <MenuItem Header="退出" Name="MenuItemExit" />
                </ribbon:RibbonApplicationMenu>
            </ribbon:Ribbon.ApplicationMenu>
            <ribbon:RibbonTab x:Name="HomeTab"
                              Header="Home">
                <ribbon:RibbonGroup x:Name="GroupSystem"
                                    Header="系统">
                    <ribbon:RibbonButton x:Name="ButtonChangePassword"
                                         Label="修改密码" />
                    <ribbon:RibbonButton x:Name="ButtonAddRemoveUser"
                                         Label="添加/删除用户" />
                    <ribbon:RibbonButton x:Name="ButtonAddRemoveMenu"
                                         Label="添加/删除菜单" />
                    <ribbon:RibbonButton x:Name="ButtonAddRemoveTable"
                                         Label="添加/删除座位" />
                </ribbon:RibbonGroup>
                <ribbon:RibbonGroup x:Name="GroupClerk"
                                    Header="员工管理">
                    <ribbon:RibbonButton x:Name="ButtonClerkManage"
                                         Label="查看(修改)" />
                </ribbon:RibbonGroup>
                <ribbon:RibbonGroup x:Name="GroupServe"
                                    Header="前台">
                    <ribbon:RibbonButton x:Name="ButtonTakeTable"
                                         Label="安排座位" />
                    <ribbon:RibbonButton x:Name="ButtonTakeFood"
                                         Label="点餐" />
                    <ribbon:RibbonButton x:Name="ButtonSee"
                                         Label="查看" />
                    <ribbon:RibbonButton x:Name="ButtonServe"
                                         Label="上菜" />
                    <ribbon:RibbonButton x:Name="ButtonBill"
                                         Label="结账" />
                </ribbon:RibbonGroup>
                <ribbon:RibbonGroup x:Name="GroupBook"
                                    Header="预订">
                    <ribbon:RibbonButton x:Name="ButtonTableBook"
                                         Label="餐桌预订" />
                </ribbon:RibbonGroup>
                <ribbon:RibbonGroup x:Name="GroupTakeout"
                                    Header="外卖">
                    <ribbon:RibbonButton x:Name="ButtonTakeoutOrder"
                                         Label="点餐" />
                    <ribbon:RibbonButton x:Name="ButtonTakeoutDeliver"
                                         Label="送货" />
                </ribbon:RibbonGroup>
            </ribbon:RibbonTab>
            <ribbon:RibbonTab x:Name="HelpTab"
                              Header="Help">
                <ribbon:RibbonGroup x:Name="GroupHelp"
                                    Header="帮助">
                </ribbon:RibbonGroup>
            </ribbon:RibbonTab>
        </ribbon:Ribbon>
        <my:ChangePassWord_Page HorizontalAlignment="Left" Margin="12,6,0,0" x:Name="ChangePassWord_Page1" VerticalAlignment="Top" Grid.Row="1" Visibility="Collapsed" />
        <my:AddRemoveUser_Page HorizontalAlignment="Left" Margin="12,6,0,0" x:Name="AddRemoveUser_Page1" VerticalAlignment="Top" Grid.Row="1" Visibility="Collapsed" />
        <my:AddRemoveMenu_Page HorizontalAlignment="Left" Margin="12,6,0,0" x:Name="AddRemoveMenu_Page1" VerticalAlignment="Top" Grid.Row="1" Visibility="Collapsed" />
        <my:AddRemoveTable_Page HorizontalAlignment="Left" Margin="12,6,0,0" x:Name="AddRemoveTable_Page1" VerticalAlignment="Top" Grid.Row="1" Visibility="Collapsed" />
        <my:ClerkManage_Page HorizontalAlignment="Left" Margin="12,6,0,0" x:Name="ClerkManage_Page1" VerticalAlignment="Top" Grid.Row="1" Visibility="Collapsed" />
        <my:TakeTable_Page HorizontalAlignment="Left" Margin="12,6,0,0" x:Name="TakeTable_Page1" VerticalAlignment="Top" Grid.Row="1" Visibility="Collapsed" />
        <my:TakeFood_Page HorizontalAlignment="Left" Margin="12,6,0,0" x:Name="TakeFood_Page1" VerticalAlignment="Top" Grid.Row="1" Visibility="Collapsed" />
        <my:See_Page HorizontalAlignment="Left" Margin="12,6,0,0" x:Name="See_Page1" VerticalAlignment="Top" Grid.Row="1" Visibility="Collapsed" />
        <my:Serve_Page HorizontalAlignment="Left" Margin="12,6,0,0" x:Name="Serve_Page1" VerticalAlignment="Top" Grid.Row="1" Visibility="Collapsed" />
        <my:Bill_Page HorizontalAlignment="Left" Margin="12,6,0,0" x:Name="Bill_Page1" VerticalAlignment="Top" Grid.Row="1" Visibility="Collapsed" />
        <my:TakeoutOrder_Page HorizontalAlignment="Left" Margin="12,6,0,0" x:Name="TakeoutOrder_Page1" VerticalAlignment="Top" Grid.Row="1" Visibility="Collapsed" />
        <my:TableBook_Page HorizontalAlignment="Left" Margin="12,6,0,0" x:Name="TableBook_Page1" VerticalAlignment="Top" Grid.Row="1" Visibility="Collapsed" />
        <my:TakeoutDeliver_Page HorizontalAlignment="Left" Margin="12,6,0,0" x:Name="TakeoutDeliver_Page1" VerticalAlignment="Top" Grid.Row="1" Visibility="Collapsed" />
    </Grid>
</ribbon:RibbonWindow>